package cn.wolfcode.cloud.shop.service.impl;

import cn.wolfcode.cloud.shop.domain.Goods;
import cn.wolfcode.cloud.shop.mapper.GoodsMapper;
import cn.wolfcode.cloud.shop.service.IGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * @author Administrator
 */
@Service
public class GoodsServiceImpl implements IGoodsService {

    @Autowired
    private GoodsMapper goodsMapper;

    @Override
    public List<Goods> queryByIdSet(Set<Long> idSet) {
        return goodsMapper.selectByIdSet(idSet);
    }
}
